

extern float win_height;
extern float win_width;


static const int max_rows=300;
static const float cell_width = 270.0;
static const float cell_height = 270.0;
static const int line_count=2;
extern float scale;

static int fontSize = 24; 

//static const float menu_width = 150.0;
static const float menu_height = 100.0;
//static const int   menu_line_count=4;
//extern float menuscale;

static const char* dbfile = "/note.db";
static const char* bgfile = "bg.png";
static const char* barfile = "bar.png";

static const char* fontName = "MarkerFelt-Thin"; //Arial

static const char* getdbfile(){


	#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
		return CCFileUtils::fullPathFromRelativePath(dbfile);
	#endif

	#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
		return strcat((char *)CCFileUtils::getWriteablePath().c_str(),dbfile);
	#endif

	#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
		return "data/data/org.cocos2dx.cnote/databases/note.db";
	#endif

	return "data/data/org.cocos2dx.cnote/databases/note.db";

}